Expand description

This crate parses the Vulkan XML registry into a Rust object.

The entry point into this library is parse_file_as_vkxml, which will return a Registry object. This object contains all the information contained in the Vulkan API registry.

Structs

Parameter for this Vulkan function.

An item of an enumeration type.

A platform refers to a windowing system which Vulkan can use.

Rust structure representing the Vulkan registry.

Tags are the little suffixes attached to extension names or items, indicating the author.

An unused range of enum values.

Unique identifier for a Vulkan vendor.

Enums

A command is just a Vulkan function.

An enum specifier, which assigns a value to the enum.

An item which forms an enum.

Errors from which parser can recover. How much information will be missing in the resulting Registry depends on the type of error and situation in which it occurs. For example, unrecognized attribute will simply be skipped without affecting anything around it, while unrecognized element will have all of its contents skipped.

A part of an extension declaration.

Errors from which parser cannot recover.

An interface item is a function or an enum which makes up a Vulkan interface.

An element of the Vulkan registry.

A member of a type definition, i.e. a struct member.

The contents of a type definition.

An item making up a type definition.

Functions

Parses the Vulkan XML file into a Rust object.

Parses the Vulkan XML file from stream into a Rust object.

Type Definitions